package com.tongshu.naive.chat.ui.view.face;

public class FaceEventDefine {
    private FaceInit faceInit;

    public FaceEventDefine(FaceInit faceInit) {
        this.faceInit = faceInit;

        hideFace();
    }

    private void hideFace() {
        faceInit.root().setOnMouseExited(event -> {
            faceInit.hide();
        });
    }
}
